import './title.scss';
import React from "react";
import { NavBar, Space } from "antd-mobile";
import { useNavigate } from "react-router-dom";

const Index=()=>{

    const navigator=useNavigate();
    const back=()=>{
        navigator(-1);
    }
    const right = (
        <div style={{ fontSize: 16 }}>
            <Space style={{ '--gap': '16px' }}>
                全部已读
            </Space>
        </div>
   )
    return (
        <div className='navbar'>
                <NavBar onBack={back} right={right}>
                    信息
                </NavBar>
        </div>
    )
}   
export default Index;